<?php
header("Content-type:text/json");  
$appid = $_GET["appid"];  
$version = $_GET["version"]; //客户端版本号  
$rsp = array("status" => 0); //默认返回值，不需要升级  
if (isset($appid) && isset($version)) {  
    if ($appid === "__UNI__1005B08") { //校验appid  
        if ($_GET["BETA"]=='false'){
            if ($version !== "2.1") { 
                $rsp["status"] = 1;  
                $rsp["note"] = "密码:1234"; 
                $rsp["url"] = "https://wwe.lanzoui.com/iejjopeca5g"; //应用升级包下载地址  
            }
        }else {
            if ($version !== "2.1") { 
                $rsp["status"] = 1;  
                $rsp["note"] = "密码:1234"; 
                $rsp["url"] = "https://wwe.lanzoui.com/iejjopeca5g"; //应用升级包下载地址  
            }
        }
    }  
}   
echo json_encode($rsp);  
exit;
?>